package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.business.domain.ShopCard;
import com.ruoyi.business.vo.ShopCardVo;

import java.util.List;

/**
 * 卡卷Service接口
 *
 * @author Tellsea
 * @date 2025-01-19
 */
public interface IShopCardService extends IService<ShopCard> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<ShopCardVo> queryList(ShopCardVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<ShopCardVo> queryAll(ShopCardVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    ShopCardVo queryById(Long id);

//	AjaxResult upload(MultipartFile file) throws Exception;
}
